package cloud.maque.admin.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 4color
 * @description 角色组表
 * @date 2023-03-17
 */
@Data
public class MqRoleGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    /**
     * role_group_id
     */
    private String roleGroupId;

    /**
     * 组名
     */
    private String groupName;

    /**
     * 排序
     */
    private Integer groupOrder;

    /**
     * create_at
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;

    /**
     * update_at
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateAt;

    /**
     * tenant_id
     */
    private String tenantId;

    public MqRoleGroup() {
    }
}
